package zack.gateway.core.session;

import zack.gateway.core.bind.IGenericReference;

import java.util.Map;

/**用户处理http请求
 * @author A1793
 */
public interface GatewaySession {
    //http的get请求转为rpc
    Object get(String methodName, Map<String,Object> parameter);
    //http的post请求转为rpc
    Object post(String methodName, Map<String,Object> parameter);

    IGenericReference getMapper();

    Configuration getConfiguration();
}
